<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <title>Utbudstjänst</title>
    </head>
    <body>
        <script src="../js/lib/jquery-1.7.2.min.js"></script>
        <script src="../js/lib/jquery.validate.js"></script>
        <script src="../js/lib/msgGrowl.min.js"></script>
        <script src="../js/lib/jquery-handlebars-1.1.4.min.js"></script>
        <script src="../js/common.js"></script>
        <script>
            commonInit({
                viewDataUrl: '../rest/view/user'
            });
            if ($.inArray("SUPERADMIN", viewData.userRoles) >= 0) {
                window.location.href = 'offer.html';
            } else if ($.inArray("CAPACITYADMIN", viewData.userRoles) >= 0) {
                window.location.href = 'capacity.html';
            }
        </script>
    </body>
</html>
